package com.hckjsec.cloud.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 申办信息对象 applets_business
 * 
 * @author cyt
 * @date 2021-08-23
 */
public class AppletsBusiness extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置id */
    private Long configId;

    /** 部门id */
    private Long deptId;

    @Excel(name = "机构名称")
    private String deptName;

    /** openid */
    private String openid;

    /** 数据来源类型 */
    private String areatype;

    /** 申办号 */
    @Excel(name = "申办号")
    private String businessid;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date operatortime;

    /** 加急 */
    private String urgent;

    /** 认证 */
    private String attestation;

    /** 邮寄姓名 */
    private String mailname;

    /** 邮寄地址 */
    private String mailaddress;

    /** 邮寄详细地址 */
    private String maildetailaddress;

    /** 邮寄手机号码 */
    private String mailphone;

    /** 类别 */
    private String category;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String categoryname;

    /** 用途 */
    private String purpose;

    /** 用途名称 */
    @Excel(name = "用途名称")
    private String purposename;

    /** 使用地 */
    private String place;

    /** 使用地名称 */
    @Excel(name = "使用地名称")
    private String placename;

    /** 语种 */
    private String language;

    /** 语种名称 */
    private String languagename;

    /** 指定公证员姓名 */
    private String appointednotary;

    /** 指定公证员手机号码 */
    private String appointednotaryphone;

    /** 所有申请人 */
    @Excel(name = "所有申请人")
    private String allparty;

    /** 所有事项 */
    private String allmatter;

    /** 应交金额 */
    private BigDecimal totalmoney;

    /** 已交金额 */
    private BigDecimal paidmoney;

    /** 开票状态 */
    private String invoice;

    /** 状态 */
    private String state;

    /** 审核人 */
    private Long auditor;

    /** 审核意见 */
    private String remarks;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditortime;

    private Integer count;

    /** 视频信息 */
    @Excel(name = "视频信息(房间号+发起时间)", width = 150)
    private String videoContent;

    /** 事项数量 */
    private Integer matterCount = 0;
    /** 是否开启视频 */
    private boolean   isVideo;

    public boolean isVideo() {
        return isVideo;
    }

    public void setVideo(boolean video) {
        isVideo = video;
    }

    public Integer getMatterCount() {
        return matterCount;
    }

    public void setMatterCount(Integer matterCount) {
        this.matterCount = matterCount;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setAreatype(String areatype) 
    {
        this.areatype = areatype;
    }

    public String getAreatype() 
    {
        return areatype;
    }
    public void setBusinessid(String businessid) 
    {
        this.businessid = businessid;
    }

    public String getBusinessid() 
    {
        return businessid;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }
    public void setUrgent(String urgent) 
    {
        this.urgent = urgent;
    }

    public String getUrgent() 
    {
        return urgent;
    }
    public void setAttestation(String attestation) 
    {
        this.attestation = attestation;
    }

    public String getAttestation() 
    {
        return attestation;
    }
    public void setMailname(String mailname) 
    {
        this.mailname = mailname;
    }

    public String getMailname() 
    {
        return mailname;
    }
    public void setMailaddress(String mailaddress) 
    {
        this.mailaddress = mailaddress;
    }

    public String getMailaddress() 
    {
        return mailaddress;
    }
    public void setMaildetailaddress(String maildetailaddress) 
    {
        this.maildetailaddress = maildetailaddress;
    }

    public String getMaildetailaddress() 
    {
        return maildetailaddress;
    }
    public void setMailphone(String mailphone) 
    {
        this.mailphone = mailphone;
    }

    public String getMailphone() 
    {
        return mailphone;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setCategoryname(String categoryname) 
    {
        this.categoryname = categoryname;
    }

    public String getCategoryname() 
    {
        return categoryname;
    }
    public void setPurpose(String purpose) 
    {
        this.purpose = purpose;
    }

    public String getPurpose() 
    {
        return purpose;
    }
    public void setPurposename(String purposename) 
    {
        this.purposename = purposename;
    }

    public String getPurposename() 
    {
        return purposename;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setPlacename(String placename) 
    {
        this.placename = placename;
    }

    public String getPlacename() 
    {
        return placename;
    }
    public void setLanguage(String language) 
    {
        this.language = language;
    }

    public String getLanguage() 
    {
        return language;
    }
    public void setLanguagename(String languagename) 
    {
        this.languagename = languagename;
    }

    public String getLanguagename() 
    {
        return languagename;
    }
    public void setAppointednotary(String appointednotary) 
    {
        this.appointednotary = appointednotary;
    }

    public String getAppointednotary() 
    {
        return appointednotary;
    }
    public void setAppointednotaryphone(String appointednotaryphone) 
    {
        this.appointednotaryphone = appointednotaryphone;
    }

    public String getAppointednotaryphone() 
    {
        return appointednotaryphone;
    }
    public void setAllparty(String allparty) 
    {
        this.allparty = allparty;
    }

    public String getAllparty() 
    {
        return allparty;
    }
    public void setAllmatter(String allmatter) 
    {
        this.allmatter = allmatter;
    }

    public String getAllmatter() 
    {
        return allmatter;
    }
    public void setTotalmoney(BigDecimal totalmoney) 
    {
        this.totalmoney = totalmoney;
    }

    public BigDecimal getTotalmoney() 
    {
        return totalmoney;
    }
    public void setPaidmoney(BigDecimal paidmoney) 
    {
        this.paidmoney = paidmoney;
    }

    public BigDecimal getPaidmoney() 
    {
        return paidmoney;
    }
    public void setInvoice(String invoice) 
    {
        this.invoice = invoice;
    }

    public String getInvoice() 
    {
        return invoice;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setAuditor(Long auditor) 
    {
        this.auditor = auditor;
    }

    public Long getAuditor() 
    {
        return auditor;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setAuditortime(Date auditortime) 
    {
        this.auditortime = auditortime;
    }

    public Date getAuditortime() 
    {
        return auditortime;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getVideoContent() {
        return videoContent;
    }

    public void setVideoContent(String videoContent) {
        this.videoContent = videoContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("deptId", getDeptId())
            .append("openid", getOpenid())
            .append("areatype", getAreatype())
            .append("businessid", getBusinessid())
            .append("operatortime", getOperatortime())
            .append("urgent", getUrgent())
            .append("attestation", getAttestation())
            .append("mailname", getMailname())
            .append("mailaddress", getMailaddress())
            .append("maildetailaddress", getMaildetailaddress())
            .append("mailphone", getMailphone())
            .append("category", getCategory())
            .append("categoryname", getCategoryname())
            .append("purpose", getPurpose())
            .append("purposename", getPurposename())
            .append("place", getPlace())
            .append("placename", getPlacename())
            .append("language", getLanguage())
            .append("languagename", getLanguagename())
            .append("appointednotary", getAppointednotary())
            .append("appointednotaryphone", getAppointednotaryphone())
            .append("allparty", getAllparty())
            .append("allmatter", getAllmatter())
            .append("totalmoney", getTotalmoney())
            .append("paidmoney", getPaidmoney())
            .append("invoice", getInvoice())
            .append("state", getState())
            .append("auditor", getAuditor())
            .append("remarks", getRemarks())
            .append("auditortime", getAuditortime())
            .toString();
    }
}
